﻿@using EveKillboard
@model EveKillboard.Core.KillmailItem
@{ var isInGame = Helper.IsInGame(ViewContext.Controller); }
<div class="@string.Format("{0}", Model.IsDropped ? "itemDropped" : "itemDestroyed")">
    <img src="@string.Format("http://image.eveonline.com/Type/{0}_32.png", @Model.Item.Id)" width="32px" height="32px" style="border : 0px" alt />
    <div style="display: inline-block; vertical-align: middle; width: 50%; text-align: left">@if (isInGame){ @Html.Raw(string.Format("<a class=\"evelink\" href=\"javascript:CCPEVE.showInfo({0})\">{1}{2}</a>", Model.Item.Id, Model.Item.Name, Model.IsCopy ? " (Copy)" : null)) } else { <label>@string.Format("{0}{1}", Model.Item.Name, Model.IsCopy ? " (Copy)" : null)</label> }</div>
    <div style="display: inline-block; vertical-align: middle;width: 5%;text-align: right;">@Model.Quantity</div><div style="display: inline-block; vertical-align: middle;width: 30%; text-align: right;">@Html.ViewData["value"]</div>
</div>
